home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / oleo-1_4.lha / oleo-1.4 / Makefile.in < prev    next >
Makefile  |  1993-05-22  |  12KB  |  272 lines

  1. # Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  2. # This file is part of GNU Oleo.
  3. # GNU Oleo is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2, or (at your option)
  6. # any later version.
  7. #
  8. # GNU Oleo is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU Oleo; see the file COPYING.  If not, write to
  14. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  15. SHELL = /bin/sh
  16.  
  17. srcdir = @srcdir@
  18. VPATH = @srcdir@
  19.  
  20. # Common prefix for machine-independent installed files.
  21. prefix = /usr/local
  22. # Common prefix for machine-dependent installed files.
  23. exec_prefix = $(prefix)
  24. # Name under which to install GNU Oleo.
  25. instname = oleo
  26. # Directory to install `oleo' in.
  27. bindir = $(exec_prefix)/bin
  28.  
  29. CFLAGS = -g
  30. BISONFLAGS =
  31. optional_libs = @LIBS@ $(wlibs)
  32. extra_objs =@LIBOBJS@ @ALLOCA@
  33.  
  34. CC = @CC@
  35. BISON = @YACC@
  36. INSTALL = @INSTALL@
  37. INSTALL_DATA = @INSTALL_DATA@
  38. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  39. ETAGS = etags -tw
  40. CTAGS = ctags -tw
  41.  
  42. ALL_CFLAGS = $(CFLAGS) $(xincludedir) $(xlibdir) @DEFS@
  43. ALL_BISONFLAGS = $(BISONFLAGS) 
  44.  
  45. .c.o:
  46.     $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) -I$(srcdir) $<
  47.  
  48. libs =  $(optional_libs) -lm 
  49.  
  50. objs = parse.tab.o byte-compile.o eval.o ref.o \
  51.  decompile.o sort.o regions.o utils.o obstack.o lists.o\
  52.  io-term.o getopt.o getopt1.o io-utils.o io-x11.o window.o io-edit.o\
  53.  hash.o panic.o line.o io-curses.o font.o display.o print.o init.o \
  54.  sylk.o oleofile.o sc.o list.o busi.o string.o cells.o ir.o xrdb.o cmd.o \
  55.  basic.o key.o format.o funcs.o args.o stub.o input.o info.o help.o \
  56.  forminfo.o graph.o date.o getdate.o posixtm.o 
  57.  
  58. all_objs= $(objs) $(extra_objs)
  59.  
  60. srcs =  parse.y byte-compile.c eval.c ref.c \
  61.  decompile.c sort.c regions.c utils.c obstack.c lists.c\
  62.  io-term.c getopt.c getopt1.c  io-utils.c io-x11.c window.c io-edit.c\
  63.  hash.c panic.c line.c  key.c format.c funcs.c \
  64.  io-curses.c font.c display.c print.c init.c \
  65.  sylk.c oleofile.c sc.c list.c busi.c string.c cells.c \
  66.  random.c vfprintf.c vsprintf.c _doprnt.c alloca.c cmd.c basic.c args.c \
  67.  stub.c input.c info.c help.c graph.c forminfo.c getdate.y \
  68.  mktime.c posixtm.y date.c strftime.c xmalloc.c
  69.  
  70. headers = byte-compile.h cell.h cmd.h ir.h display.h errors.h eval.h \
  71.  font.h funcdef.h global.h hash.h init.h io-abstract.h io-edit.h \
  72.  io-generic.h io-term.h io-utils.h line.h list.h \
  73.  lists.h  node.h obstack.h oleofile.h parse.h  \
  74.  proto.h ref.h regions.h sc.h sylk.h sysdef.h \
  75.  utils.h window.h ir.c xrdb.c io-curses.h io-x11.h \
  76.  print.h basic.h getopt.h key.h format.h args.h stub.h decompile.h \
  77.  input.h defun.h defuns.h stubs.h info.h help.h graph.h funcs.h \
  78.  forminfo.h panic.h
  79.  
  80. dist_files = $(srcs) $(headers) parse.tab.c configure Makefile.in \
  81.     configure.in ANNOUNCE COPYING USING BUGS ChangeLog NEWS INSTALL.OLEO \
  82.     README INSTALL irs-1992.oleo KEYS posixtm.c getdate.c
  83.  
  84. all: oleo
  85. install: all
  86.     $(INSTALL_PROGRAM) oleo $(bindir)/oleo
  87. uninstall:
  88.     rm $(bindir)/oleo
  89. Makefile: $(srcdir)/Makefile.in 
  90.     $(SHELL) config.status
  91. clean:
  92.     rm -f $(all_objs) oleo
  93. distclean: clean
  94.     rm -f Makefile config.status 
  95. mostlyclean: clean
  96. realclean: distclean
  97.     rm -f  parse.tab.c
  98. TAGS: $(srcs)
  99.     $(ETAGS) $(srcs)
  100. tags: $(srcs)
  101.     $(CTAGS) $(srcs)
  102. dist.afs: $(dist_files)
  103.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  104.     rm -rf `cat .fname`
  105.     mkdir `cat .fname`
  106.     cd `cat .fname`; \
  107.     for file in $(dist_files); do ln -s ../"$$file" .; done; \
  108.     cd ..
  109.     tar chf `cat .fname`.tar `cat .fname`
  110.     gzip `cat .fname`.tar
  111.     rm -rf `cat .fname` .fname
  112.  
  113. dist: $(dist_files)
  114.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  115.     rm -rf `cat .fname`
  116.     mkdir `cat .fname`
  117.     ln $(dist_files) `cat .fname`
  118.     tar chZf `cat .fname`.tar.Z `cat .fname`
  119.     rm -rf `cat .fname` .fname
  120.  
  121. distfiles:
  122.     echo $(dist_files)
  123.  
  124. check:
  125.     echo check check check
  126. oleo: $(all_objs)
  127.     $(CC) $(ALL_CFLAGS) -o oleo $(all_objs) $(libs)
  128.  
  129. parse.tab.c: parse.y
  130.     $(BISON) parse.y
  131.     -mv y.tab.c parse.tab.c
  132.  
  133. getdate.c: getdate.y
  134.     $(BISON) getdate.y
  135.     test ! -f y.tab.c || mv y.tab.c getdate.tab.c
  136.     sed -e 's/yy/gtd/g' getdate.tab.c > tgetdate.c
  137.     mv tgetdate.c getdate.c
  138.     rm -f getdate.tab.c
  139.  
  140. posixtm.c: posixtm.y
  141.     $(BISON) posixtm.y
  142.     test ! -f y.tab.c || mv y.tab.c posixtm.tab.c
  143.     sed -e 's/yy/psxt/g' posixtm.tab.c > tposixtm.c
  144.     mv tposixtm.c posixtm.c
  145.     rm -f posixtm.tab.c
  146.  
  147. # Prevent GNU make v3 from overflowing arg limit on SysV.
  148. .NOEXPORT:
  149.  
  150. # ================ automaticly generated ================
  151.  
  152. _doprnt.o : _doprnt.c 
  153. alloca.o : alloca.c 
  154. args.o : args.c global.h sysdef.h utils.h funcdef.h args.h cmd.h obstack.h line.h \
  155.   key.h funcs.h info.h io-abstract.h window.h cell.h font.h io-generic.h io-edit.h \
  156.   io-utils.h format.h 
  157. basic.o : basic.c sysdef.h global.h utils.h funcdef.h basic.h cmd.h obstack.h \
  158.   line.h key.h args.h funcs.h info.h regions.h window.h cell.h font.h io-term.h \
  159.   io-generic.h io-abstract.h io-utils.h io-curses.h ref.h format.h lists.h io-edit.h \
  160.   eval.h byte-compile.h 
  161. busi.o : busi.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  162.   errors.h 
  163. byte-compile.o : byte-compile.c funcdef.h obstack.h sysdef.h global.h utils.h \
  164.   node.h eval.h cell.h font.h line.h hash.h ref.h 
  165. cells.o : cells.c obstack.h funcdef.h sysdef.h global.h utils.h cell.h font.h \
  166.   line.h eval.h errors.h lists.h format.h io-abstract.h window.h io-generic.h \
  167.   io-term.h cmd.h key.h args.h funcs.h info.h 
  168. cmd.o : cmd.c obstack.h global.h sysdef.h utils.h funcdef.h \
  169.   cmd.h line.h key.h args.h funcs.h info.h io-term.h io-abstract.h window.h cell.h \
  170.   font.h io-generic.h io-utils.h io-edit.h stub.h ref.h 
  171. date.o : date.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  172.   errors.h 
  173. decompile.o : decompile.c global.h sysdef.h utils.h funcdef.h decompile.h eval.h \
  174.   cell.h font.h line.h io-utils.h 
  175. display.o : display.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  176.   cell.h ir.h proto.h lists.h io-utils.h 
  177. eval.o : eval.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  178.   line.h eval.h errors.h 
  179. font.o : font.c font.h global.h sysdef.h utils.h funcdef.h line.h window.h cell.h \
  180.   io-abstract.h cmd.h obstack.h key.h args.h funcs.h info.h io-x11.h io-term.h \
  181.   io-utils.h 
  182. format.o : format.c global.h sysdef.h utils.h funcdef.h format.h cell.h font.h \
  183.   line.h cmd.h obstack.h key.h args.h funcs.h info.h io-term.h io-abstract.h window.h \
  184.   io-generic.h 
  185. forminfo.o : forminfo.c sysdef.h forminfo.h 
  186. funcs.o : funcs.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h \
  187.   key.h args.h funcs.h info.h io-term.h basic.h format.h cell.h font.h print.h \
  188.   io-x11.h io-edit.h regions.h help.h window.h graph.h lists.h defuns.h defun.h 
  189. getdate.o : getdate.c 
  190. getopt.o : getopt.c getopt.h 
  191. getopt1.o : getopt1.c getopt.h 
  192. graph.o : graph.c global.h sysdef.h utils.h funcdef.h graph.h cell.h font.h \
  193.   line.h cmd.h obstack.h key.h args.h funcs.h info.h io-term.h regions.h ref.h \
  194.   io-utils.h 
  195. hash.o : hash.c sysdef.h hash.h 
  196. help.o : help.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h key.h \
  197.   args.h funcs.h info.h forminfo.h help.h io-utils.h cell.h font.h 
  198. info.o : info.c global.h sysdef.h utils.h funcdef.h info.h hash.h cmd.h obstack.h \
  199.   line.h key.h args.h funcs.h 
  200. init.o : init.c proto.h init.h global.h sysdef.h utils.h funcdef.h io-term.h \
  201.   cmd.h obstack.h line.h key.h args.h funcs.h info.h 
  202. input.o : input.c global.h sysdef.h utils.h funcdef.h input.h cmd.h obstack.h \
  203.   line.h key.h args.h funcs.h info.h window.h cell.h font.h io-abstract.h 
  204. io-curses.o : io-curses.c proto.h funcdef.h sysdef.h global.h utils.h cell.h \
  205.   font.h line.h cmd.h obstack.h key.h args.h funcs.h info.h io-generic.h io-edit.h \
  206.   io-term.h io-abstract.h window.h io-utils.h lists.h regions.h input.h 
  207. io-edit.o : io-edit.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  208.   io-utils.h io-edit.h cmd.h obstack.h key.h args.h funcs.h info.h io-abstract.h \
  209.   window.h io-generic.h format.h lists.h regions.h 
  210. io-term.o : io-term.c global.h sysdef.h utils.h funcdef.h basic.h cell.h font.h \
  211.   line.h cmd.h obstack.h key.h args.h funcs.h info.h format.h getopt.h init.h \
  212.   io-abstract.h window.h io-curses.h io-edit.h io-generic.h io-term.h io-utils.h \
  213.   io-x11.h lists.h oleofile.h print.h ref.h regions.h graph.h list.h sc.h sylk.h \
  214.   panic.h 
  215. io-utils.o : io-utils.c sysdef.h io-utils.h global.h utils.h funcdef.h cell.h \
  216.   font.h line.h ref.h decompile.h io-generic.h obstack.h io-abstract.h window.h \
  217.   lists.h io-term.h cmd.h key.h args.h funcs.h info.h 
  218. io-x11.o : io-x11.c 
  219. ir.o : ir.c ir.h proto.h 
  220. key.o : key.c key.h global.h sysdef.h utils.h funcdef.h line.h cmd.h obstack.h \
  221.   args.h funcs.h info.h io-abstract.h window.h cell.h font.h io-generic.h io-utils.h \
  222.   io-term.h 
  223. line.o : line.c global.h sysdef.h utils.h funcdef.h line.h 
  224. list.o : list.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  225.   obstack.h io-abstract.h window.h regions.h io-utils.h cmd.h key.h args.h funcs.h \
  226.   info.h 
  227. lists.o : lists.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  228.   line.h ref.h window.h io-term.h io-abstract.h 
  229. mktime.o : mktime.c 
  230. obstack.o : obstack.c obstack.h 
  231. oleofile.o : oleofile.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h \
  232.   io-abstract.h line.h window.h cell.h font.h io-utils.h io-term.h sylk.h lists.h \
  233.   ref.h regions.h info.h cmd.h key.h args.h funcs.h 
  234. panic.o : panic.c funcdef.h sysdef.h global.h utils.h io-generic.h obstack.h \
  235.   io-abstract.h line.h window.h cell.h font.h info.h cmd.h key.h args.h funcs.h \
  236.   panic.h 
  237. parse.tab.o : parse.tab.c funcdef.h obstack.h sysdef.h global.h utils.h errors.h \
  238.   node.h eval.h cell.h font.h line.h ref.h 
  239. posixtm.o : posixtm.c 
  240. print.o : print.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  241.   cell.h ir.h proto.h cmd.h obstack.h key.h args.h funcs.h info.h io-generic.h \
  242.   io-abstract.h window.h 
  243. random.o : random.c 
  244. ref.o : ref.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  245.   io-abstract.h window.h io-generic.h obstack.h hash.h byte-compile.h parse.h \
  246.   ref.h cmd.h key.h args.h funcs.h info.h 
  247. regions.o : regions.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  248.   io-generic.h obstack.h io-abstract.h window.h io-utils.h lists.h ref.h regions.h \
  249.   io-term.h cmd.h key.h args.h funcs.h info.h 
  250. sc.o : sc.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  251.   obstack.h io-abstract.h window.h io-utils.h lists.h ref.h parse.h regions.h \
  252.   cmd.h key.h args.h funcs.h info.h 
  253. sort.o : sort.c 
  254. strftime.o : strftime.c 
  255. string.o : string.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  256.   line.h eval.h errors.h 
  257. stub.o : stub.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h key.h \
  258.   args.h funcs.h info.h stub.h stubs.h 
  259. sylk.o : sylk.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h io-abstract.h \
  260.   line.h window.h cell.h font.h io-term.h lists.h io-utils.h ref.h regions.h info.h \
  261.   cmd.h key.h args.h funcs.h 
  262. utils.o : utils.c sysdef.h utils.h funcdef.h global.h 
  263. vfprintf.o : vfprintf.c sysdef.h 
  264. vsprintf.o : vsprintf.c sysdef.h 
  265. window.o : window.c global.h sysdef.h utils.h funcdef.h window.h cell.h font.h \
  266.   line.h io-generic.h obstack.h io-abstract.h io-utils.h io-term.h cmd.h key.h \
  267.   args.h funcs.h info.h lists.h regions.h 
  268. xmalloc.o : xmalloc.c sysdef.h 
  269. xrdb.o : xrdb.c 
  270.